@use 'function'as func;

//
// 获取element-ui的var
//
@function getElVar($args...) {
  @return func.getElVar($args);
}

// ******** dis ******** //
$dis-tg: 0px;
$dis-sm: 8px;
$dis-default:16px;
$dis-md: 24px;
$dis-lg: 32px;
$dis-extra-lg: 40px;


// ******** map ******** //
$dis-map: (tg: $dis-tg,
  sm: $dis-sm,
  default: $dis-default,
  md: $dis-md,
  lg: $dis-lg,
  extra-lg: $dis-extra-lg,
);

$color-map: (primary: getElVar(color-primary),
  info: getElVar(color-info),
  success: getElVar(color-success),
  warning: getElVar(color-warning),
  danger: getElVar(color-danger),
);
